package com.yumei.trader.gym.object;

import org.json.JSONObject;

/**
 * 用户仿真帐户
 * Created by wangyikai on 16/12/1.
 */

public class ActObj extends BaseObj {

    public String userId;
    public double account = 100000;
    public float rise;//单次收益率
    public float totalRise; //总收益
    public float totalTimes; //总局数
    public float useTimes = 3.0f;
    public String updateTime = ""; //最后修改时间
    public String isUpload = "0"; //是否已上传  0：是  1：否
    public String gameId = ""; //最后游戏Id
    public int profit; //最后收益

    public ActObj(){

    }


    public ActObj(String userId){
        this.userId = userId;
    }


    @Override
    public void parseJson(JSONObject jsonObj) throws Exception {

    }

    public String toString(){
        return  userId+"\t"+account+"\t"+totalRise+"\t"+totalTimes+"\t"+useTimes;
    }
}
